package com.neusoft.hospital.service.impl;

import com.neusoft.hospital.mapper.CheckitemMapper;
import com.neusoft.hospital.pojo.checkitem;
import com.neusoft.hospital.service.Checkitemservice;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
@Transactional
public class Checkitemserviceimpl implements Checkitemservice
{

    @Resource
    private CheckitemMapper checkitemMapper;


    @Override
    public List<checkitem> findcheckitem(checkitem checkitem) {
        return checkitemMapper.findcheckitem(checkitem);
    }

    @Override
    public int insertCheckitem(checkitem checkitem) {
        return checkitemMapper.insertCheckitem(checkitem);
    }

    @Override
    public int updatecheckitem(checkitem checkitem) {
        return checkitemMapper.updatecheckitem(checkitem);
    }

    @Override
    public int deletecheckitem(checkitem checkitem) {
        return checkitemMapper.deletecheckitem(checkitem);
    }

    @Override
    public List<checkitem> findCheckitemList(List<Integer> ids) {
        return checkitemMapper.findCheckitemList(ids);
    }

    @Override
    public List<checkitem> findCheckitemList2(int ids) {
        return checkitemMapper.findCheckitemList2(ids);
    }

    @Override
    public List<checkitem> findChecktemList3(Map<String, Object> ids) {
        return checkitemMapper.findChecktemList3(ids);
    }

    @Override
    public List<checkitem> findCheckitemByChoose(checkitem checkitem) {
        return checkitemMapper.findCheckitemByChoose(checkitem);
    }

    @Override
    public List<checkitem> findcheckitemBySql() {
        return checkitemMapper.findcheckitemBySql();
    }
}
